<?php
/**
 * Created by PhpStorm.
 * User: WIN
 * Date: 2017/9/1
 * Time: 18:00
 */


function get_table_item($table)
{
//��ȡ���ݿ�Ŀ�����������
    $items = do_query("SHOW COLUMNS FROM " . $table . "");

    while ($row = mysqli_fetch_array($items)) {
        $table_item_list[] = $row['Field'];

    }

    return $table_item_list;

}